/**
 * 递归
 */
package com.study.s06.recursion;

public class Recursion {

	public static void main(String[] args) {
		test2(20);
	}
	
	public static void test() {
		System.out.println("Hello, World");
	}
	
	public static void test2(int n) {
		System.out.println(n);
		if(n == 0) {
			return ;
		}
		test2(n - 1);
	}

}
